package com.ly.heart.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ly.common.core.domain.BaseVo;
import lombok.Data;
import com.ly.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 金蝶-发票-应付单/采购开票付款计划对象 erp_king_invoice_payable_procure_plan_info
 * @author wutao
 * @date 2024-06-26
 */
@TableName ("erp_king_invoice_payable_procure_plan_info")
@ApiModel (value = "erp_king_invoice_payable_procure_plan_info对象", description = "金蝶-发票-应付单/采购开票付款计划")
@Data
public class KingInvoicePayableProcurePlanEntity extends BaseVo {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId (value = "id", type = IdType.INPUT)
    private String id;

    /**
     * 应付单/采购开票Id
     */
    @ApiModelProperty ("应付单/采购开票Id")
    @TableField ("invoice_payable_id")
    @Excel (name = "应付单/采购开票Id")
    private String invoicePayableId;

    /**
     * 到期日
     */
    @ApiModelProperty ("到期日")
    @TableField ("due_time")
    @JsonFormat (pattern = "yyyy-MM-dd")
    @Excel (name = "到期日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dueTime;

    /**
     * 应付比例%
     */
    @ApiModelProperty ("应付比例%")
    @TableField ("pay_ratio")
    @Excel (name = "应付比例%")
    private String payRatio;

    /**
     * 应付金额=按比例收*明细里的不含税金额
     */
    @ApiModelProperty ("应付金额=按比例收*明细里的不含税金额")
    @TableField ("pay_amount")
    @Excel (name = "应付金额=按比例收*明细里的不含税金额")
    private String payAmount;

    /**
     * 应付金额本币位
     */
    @ApiModelProperty ("应付金额本币位")
    @TableField ("own_currency_id")
    @Excel (name = "应付金额本币位")
    private String ownCurrencyId;

    /**
     * 物料编码，物料表接口
     */
    @ApiModelProperty ("物料编码，物料表接口")
    @TableField ("material_id")
    @Excel (name = "物料编码，物料表接口")
    private String materialId;

    /**
     * 采购订单,接口
     */
    @ApiModelProperty ("采购订单,接口")
    @TableField ("procure_order_id")
    @Excel (name = "采购订单,接口")
    private String procureOrderId;

    /**
     * 费用项目编码,接口
     */
    @ApiModelProperty ("费用项目编码,接口")
    @TableField ("fee_id")
    @Excel (name = "费用项目编码,接口")
    private String feeId;

    /**
     * 备注
     */
    @ApiModelProperty ("备注")
    @TableField ("remarks")
    @Excel (name = "备注")
    private String remarks;

    @ApiModelProperty("创建人")
    @TableField("create_by")
    private String createBy;

    @ApiModelProperty("创建时间")
    @TableField("create_time")
    private Date createTime;

    @ApiModelProperty("更新人")
    @TableField("update_by")
    private String updateBy;

    @ApiModelProperty("更新时间")
    @TableField("update_time")
    private Date updateTime;

    /**
     * 是否可用
     */
    @ApiModelProperty ("是否可用")
    @TableField ("is_used")
    @Excel (name = "是否可用")
    private Integer isUsed;

    public void setId (String id) {
        this.id = id;
    }

    public String getId () {
        return id;
    }

    public void setInvoicePayableId (String invoicePayableId) {
        this.invoicePayableId = invoicePayableId;
    }

    public String getInvoicePayableId () {
        return invoicePayableId;
    }

    public void setDueTime (Date dueTime) {
        this.dueTime = dueTime;
    }

    public Date getDueTime () {
        return dueTime;
    }

    public void setPayRatio (String payRatio) {
        this.payRatio = payRatio;
    }

    public String getPayRatio () {
        return payRatio;
    }

    public void setPayAmount (String payAmount) {
        this.payAmount = payAmount;
    }

    public String getPayAmount () {
        return payAmount;
    }

    public void setOwnCurrencyId (String ownCurrencyId) {
        this.ownCurrencyId = ownCurrencyId;
    }

    public String getOwnCurrencyId () {
        return ownCurrencyId;
    }

    public void setMaterialId (String materialId) {
        this.materialId = materialId;
    }

    public String getMaterialId () {
        return materialId;
    }

    public void setProcureOrderId (String procureOrderId) {
        this.procureOrderId = procureOrderId;
    }

    public String getProcureOrderId () {
        return procureOrderId;
    }

    public void setFeeId (String feeId) {
        this.feeId = feeId;
    }

    public String getFeeId () {
        return feeId;
    }

    public void setRemarks (String remarks) {
        this.remarks = remarks;
    }

    public String getRemarks () {
        return remarks;
    }

}
